home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr23 / tlxtw204.zip / DOS.SLT < prev    next >
Text File  |  1995-01-21  |  544b  |  25 lines

  1. // dos.slc
  2. // Returns to the Telix directory after shelling to DOS.
  3. //
  4. // If the capture file is open it will be closed during the shell, then returned
  5. // to its original state after returning to Telix.
  6.  
  7. main()
  8. {
  9.     str cap[64];
  10.     int flag;
  11.  
  12.     cap = _capture_fname;
  13.     if((flag = capture_stat())>0)
  14.         capture("*close*");
  15.     dos("",0);
  16.   //newdir( _telix_dir );
  17.     if(flag == 1)
  18.         capture(cap);
  19.     else if (flag == 2) {
  20.         capture(cap);
  21.         capture("*pause*");
  22.     }
  23.     _scr_chk_key = 1;
  24. }
  25.